POV-Ray : Newsgroups : povray.binaries.images : Sci-fi experiment (75kbu) : Re: Oops, correct image here Server Time
3 Aug 2024 00:25:22 EDT (-0400)
  Re: Oops, correct image here  
From: Gail Shaw
Date: 8 May 2007 14:17:38
Message: <4640bec2@news.povray.org>
"St." <dot### [at] dotcom> wrote in message news:4640af6e@news.povray.org...

>      Could you? I'd love to try that.

Here you go.

#macro Bubbles (StartPoint, EndPoint,Spacing,Size,rs)
 union {
  #local rnd=seed(rs);
  #local Count = (EndPoint.y-StartPoint.y)/Spacing;
  #local i=0;
  #while (i<Count)
   sphere {
    <0,0,0>,Size*(0.8+rand(rnd)*0.4)
    scale <1,0.7,1>
    translate <(rand(rnd)-0.5)*Spacing*0.5,i*Spacing +
(rand(rnd)-0.5)*Spacing,(rand(rnd)-0.5)*Spacing*0.5>
    material {
     texture {
      pigment {rgbf <1,1,1,0.99>}
      finish {specular 0.8 reflection {0.1,0.5 fresnel}}
     }
     interior {ior 1.0}
    }
    //pigment {Red}
    hollow
   }
   #local i=i+1;
  #end
  translate StartPoint
 }
#end

Sample call:
object {
 Bubbles(<0.2,0.1,0>,<0.2,1.775,0>,0.075,0.0085,floor(rand(rnd)*10000))
}

>      Hmm... been thinking about this, and all I could come up with is that
> if they were struggling (to get out maybe?), then that would make it
obvious
> to the veiwer that they don't want to be there. Tricky though, as you
would
> have to get the poses just right to achieve that, I think.

That's what I'm trying, with one of them. Looking promising.
Update maybe later this week


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.